package org.thirdHero.os.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "os")
public class ObjectStorageConfig {
    private String address;

    private String port;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        if(port.equals("80")){
            this.port="";
        }else{
            this.port = port;
        }

    }
}
